﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Zhaoxi.SqlSugarAdvanced.CustomSubTable;

namespace Zhaoxi.SqlSugarAdvanced
{
    public class SplitTables
    { 
        /// <summary>
        /// 分库分表
        /// </summary>
        public static void Show()
        {
            //按年份分表
            //AutomaticSubTableDemo.ShowSubTableYear();

            ////按月分表
            //AutomaticSubTableDemo.ShowSubTableMonth();

            ////按天分表
            //AutomaticSubTableDemo.ShowSubTableDay();

            // 自定义分表
            //CustomSubTableDemo.ShowCustomSubTable();

        }
    }
}
